package com.das.mechanic_base.bean.alone;

import java.io.Serializable;
import java.util.List;

public class ServiceHeaderBean implements Serializable {


    /**
     * serviceCategoryName : MAINTAIN
     * serviceCategoryValue : 养护
     * shopCategoryEntityList : []
     */

    private String serviceCategoryName;
    private String serviceCategoryValue;
    private List<ShopCategoryEntityBean> shopCategoryEntityList;

    public ServiceHeaderBean() {

    }

    public String getServiceCategoryName() {
        return serviceCategoryName;
    }

    public void setServiceCategoryName(String serviceCategoryName) {
        this.serviceCategoryName = serviceCategoryName;
    }

    public String getServiceCategoryValue() {
        return serviceCategoryValue;
    }

    public void setServiceCategoryValue(String serviceCategoryValue) {
        this.serviceCategoryValue = serviceCategoryValue;
    }

    public List<ShopCategoryEntityBean> getShopCategoryEntityList() {
        return shopCategoryEntityList;
    }

    public void setShopCategoryEntityList(List<ShopCategoryEntityBean> shopCategoryEntityList) {
        this.shopCategoryEntityList = shopCategoryEntityList;
    }

    public static class ShopCategoryEntityBean implements Serializable{

        private String name;
        private List<ServiceBaseEntityBean> serviceBaseEntityList;

        public List<ServiceBaseEntityBean> getServiceBaseEntityList() {
            return serviceBaseEntityList;
        }

        public void setServiceBaseEntityList(List<ServiceBaseEntityBean> serviceBaseEntityList) {
            this.serviceBaseEntityList = serviceBaseEntityList;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public static class ServiceBaseEntityBean implements Serializable{

            private double currentMiles;
            private double perMiles;
            private String name;
            private boolean touched;
            private String pictureResourceUrl;
            private String sn;
            private double recommendSafeMiles;
            private String serviceCategoryName;
            private String remildType;
            public String warningDate;

            public String getWarningDate() {
                return warningDate;
            }

            public void setWarningDate(String warningDate) {
                this.warningDate = warningDate;
            }

            public String getRemildType() {
                return remildType;
            }

            public void setRemildType(String remildType) {
                this.remildType = remildType;
            }

            @Override
            public String toString() {
                return "{" +
                        "\"name\":\'" + name + "\'" +
                        '}';
            }

            public String getServiceCategoryName() {
                return serviceCategoryName;
            }

            public void setServiceCategoryName(String serviceCategoryName) {
                this.serviceCategoryName = serviceCategoryName;
            }

            public double getRecommendSafeMiles() {
                return recommendSafeMiles;
            }

            public void setRecommendSafeMiles(double recommendSafeMiles) {
                this.recommendSafeMiles = recommendSafeMiles;
            }

            public String getSn() {
                return sn;
            }

            public void setSn(String sn) {
                this.sn = sn;
            }

            public double getCurrentMiles() {
                return currentMiles;
            }

            public void setCurrentMiles(double currentMiles) {
                this.currentMiles = currentMiles;
            }

            public double getPerMiles() {
                return perMiles;
            }

            public void setPerMiles(double perMiles) {
                this.perMiles = perMiles;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public boolean isTouched() {
                return touched;
            }

            public void setTouched(boolean touched) {
                this.touched = touched;
            }

            public String getPictureResourceUrl() {
                return pictureResourceUrl;
            }

            public void setPictureResourceUrl(String pictureResourceUrl) {
                this.pictureResourceUrl = pictureResourceUrl;
            }
        }

    }
}
